import java.awt.*;
import java.awt.geom.*;

public class Map extends Rectangle2D.Double
{
	static Line2D.Double line;

	public Map (int x, int y, int width, int height)
	{
		super (x, y, width, height);
	}

	public void level ()
	{
		Game.graphics.setColor (Color.WHITE);
		Game.graphics.fill (this);
	}

	public void start ()
	{
		Game.graphics.setColor (Color.CYAN);
		Game.graphics.fill (this);
	}
		
	public void end ()
	{
		Game.graphics.setColor (Color.ORANGE);
		Game.graphics.fill (this);
	}
	
	public static Line2D.Double line (double x1, double y1, double x2, double y2)
	{
		line = new Line2D.Double(x1, y1, x2, y2);
		return line;
	}
}